<?php

require_once "Constants.php";

class Locale{
	
	const WIIWARE_LOCALE = "wii-ware";
	
	const UK_LOCALE = "gb";
	
	const UK_LOCALE_LABEL = "amazon.co.uk";
	
	const US_LOCALE = "us";
	
	const US_LOCALE_LABEL = "amazon.com";
	
	/**
	 * returns all of the locales as an associative array
	 * 
	 * array("wii-ware" => "wii-ware", ...
	 */
	public static function getAllLocales(){

		return array(self::WIIWARE_LOCALE => self::WIIWARE_LOCALE, 
					 self::UK_LOCALE => self::UK_LOCALE, 
					 self::US_LOCALE => self::US_LOCALE);
	}
	
	public static function getAllAmazonLocales(){
		
		return array(self::US_LOCALE => self::US_LOCALE_LABEL,
					 self::UK_LOCALE => self::UK_LOCALE_LABEL);
	}
}
?>